#ifndef SPECTRUMCOMPONENT_H_
#define SPECTRUMCOMPONENT_H_

namespace spectClean {

class SpectrumComponent
{
    public:
        SpectrumComponent(const double amp = 0.0, const double freq = 0.0)
        : _amplitude(amp), _frequency(freq) {}

        ~SpectrumComponent() {};

    public:
        void setAmplitude(const double value) { _amplitude = value; }
        void setFrequency(const double value) { _frequency = value; }
        double amplitude() const { return _amplitude; }
        double frequency() const { return _frequency; }

    private:
        double _amplitude;
        double _frequency;
};

} // namespace spectClean

#endif // SPECTRUMCOMPONENT_H_
